﻿using System;

namespace Sonce.Common
{
    public class CircuitDocument
    {
        //public List<Element> Elements;
        //public List<EditorNode> Nodes;
        //public List<EditorConnection> Connections;

        public CircuitDocument()
        {
            //this.Elements = new List<Element>();
            //this.Nodes = new List<EditorNode>();
            //this.Connections = new List<EditorConnection>();
        }

        //public void Add(Element element)
        //{
        //    this.Elements.Add(element);
        //}

        //public void Add(EditorNode node)
        //{
        //    this.Nodes.Add(node);
        //}

        //public void Add(EditorConnection connection)
        //{
        //    this.Connections.Add(connection);
        //}

        //public string GetDocumentXaml()
        //{
        //    string result = null;

        //    foreach (Element element in this.Elements)
        //    {
        //        //TODO: draw prototype
        //    }
        //    foreach (EditorNode node in this.Nodes)
        //    {
        //        //TODO: draw nodes
        //    }
        //    foreach (EditorConnection connection in this.Connections)
        //    {
        //        //TODO: connect nodes
        //    }

        //    return result;
        //}
    }
}
